package com.sumainfor.wx.tenant.service;

import com.sumainfor.common.util.JsonResult;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * @Author Jack Chen
 * @Create 2019-02-13 16:25
 */
public interface HousingFindService {

    JsonResult findHousing(Map<String, Object> params);

    List<String> getHotList(int size);

    List<String> getHistorySearch();

    boolean clearHistorySearchData();

    JsonResult getHousingInfoById(String infoId);

    JsonResult actionLikeHousing(String infoId);

    JsonResult makeHousing(Map<String, Object> params);

    JsonResult getMakeHousingList();

    JsonResult commentMakeOrder(@RequestBody Map<String, Object> params);
}
